package com.itzjc.domain.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * TODO
 *
 * @className: FileInfo
 * @date: 2021-11-03 14:42
 **/
public class FileInfo implements Serializable {
    private Integer id;
    private String agreementURL;
    private String methodURL;
    @JsonProperty("pj_id")
    private Integer pjid;
    private Integer status;
    @JsonProperty("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    //有参、空参、set/get、toString


    @Override
    public String toString() {
        return "FileInfo{" +
                "id=" + id +
                ", agreementURL='" + agreementURL + '\'' +
                ", methodURL='" + methodURL + '\'' +
                ", pjid=" + pjid +
                ", status=" + status +
                ", createTime=" + createTime +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAgreementURL() {
        return agreementURL;
    }

    public void setAgreementURL(String agreementURL) {
        this.agreementURL = agreementURL;
    }

    public String getMethodURL() {
        return methodURL;
    }

    public void setMethodURL(String methodURL) {
        this.methodURL = methodURL;
    }

    public Integer getPjid() {
        return pjid;
    }

    public void setPjid(Integer pjid) {
        this.pjid = pjid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public FileInfo(Integer id, String agreementURL, String methodURL, Integer pjid, Integer status, Date createTime) {
        this.id = id;
        this.agreementURL = agreementURL;
        this.methodURL = methodURL;
        this.pjid = pjid;
        this.status = status;
        this.createTime = createTime;
    }

    public FileInfo() {
    }
}
